<?php

namespace backend\models\system;

use Yii;
use backend\models\system\SysConfig;

/**
 * ContactForm is the model behind the contact form.
 */
class CourseForm extends SysConfig
{
	public $messages_status;//给新学员发送欢迎私信
	public $message_content;//欢迎私信内容
	public $price_permissions;//允许教师设置课程价格
	public $order_permissions;//允许教师查询课程订单
	public $datum_permissions;//允许教师导出学员资料
	public $course_permissions;//课程详情页显示相关课程
	public $copy_permissions;//图文、文档课时防复制
	public $student_num_permissions;//课程中允许显示学员人数
    /**
     * @inheritdoc 验证规则
     */
    public function rules()
    {
        return [
            [['messages_status','message_content','price_permissions','order_permissions','datum_permissions','course_permissions','copy_permissions','student_num_permissions'], 'required'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'messages_status' => '给新学员发送欢迎私信',
            'message_content' => '欢迎私信内容',
	        'price_permissions' => '允许教师设置课程价格',
            'order_permissions' => '允许教师查询课程订单',
            'datum_permissions' => '允许教师导出学员资料',
            'course_permissions' => '课程详情页显示相关课程',
            'copy_permissions' => '图文、文档课时防复制',
            'student_num_permissions' => '课程中允许显示学员人数',
        ];
    }



}